Optimal. Leaf size=378 \[ -\frac {3 a^2 \sec (c+d x) \tan (c+d x)}{2 b \left (a^2-b^2\right ) d (a+b \sec (c+d x))^{2/3}}+\frac {3 \left (3 a^2-b^2\right ) \sqrt [3]{a+b \sec (c+d x)} \tan (c+d x)}{4 b^2 \left (a^2-b^2\right ) d}-\frac {a \left (9 a^2-7 b^2\right ) F_1\left (\frac {1}{2};\frac {1}{2},-\frac {1}{3};\frac {3}{2};\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right ) \sqrt [3]{a+b \sec (c+d x)} \tan (c+d x)}{2 \sqrt {2} b^3 \left (a^2-b^2\right ) d \sqrt {1+\sec (c+d x)} \sqrt [3]{\frac {a+b \sec (c+d x)}{a+b}}}+\frac {\left (9 a^4-10 a^2 b^2-b^4\right ) F_1\left (\frac {1}{2};\frac {1}{2},\frac {2}{3};\frac {3}{2};\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right ) \left (\frac {a+b \sec (c+d x)}{a+b}\right )^{2/3} \tan (c+d x)}{2 \sqrt {2} b^3 \left (a^2-b^2\right ) d \sqrt {1+\sec (c+d x)} (a+b \sec (c+d x))^{2/3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.42, antiderivative size = 378, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 6, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {3930, 4167,
4092, 3919, 144, 143} \begin {gather*} -\frac {a \left (9 a^2-7 b^2\right ) \tan (c+d x) \sqrt [3]{a+b \sec (c+d x)} F_1\left (\frac {1}{2};\frac {1}{2},-\frac {1}{3};\frac {3}{2};\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right )}{2 \sqrt {2} b^3 d \left (a^2-b^2\right ) \sqrt {\sec (c+d x)+1} \sqrt [3]{\frac {a+b \sec (c+d x)}{a+b}}}-\frac {3 a^2 \tan (c+d x) \sec (c+d x)}{2 b d \left (a^2-b^2\right ) (a+b \sec (c+d x))^{2/3}}+\frac {3 \left (3 a^2-b^2\right ) \tan (c+d x) \sqrt [3]{a+b \sec (c+d x)}}{4 b^2 d \left (a^2-b^2\right )}+\frac {\left (9 a^4-10 a^2 b^2-b^4\right ) \tan (c+d x) \left (\frac {a+b \sec (c+d x)}{a+b}\right )^{2/3} F_1\left (\frac {1}{2};\frac {1}{2},\frac {2}{3};\frac {3}{2};\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right )}{2 \sqrt {2} b^3 d \left (a^2-b^2\right ) \sqrt {\sec (c+d x)+1} (a+b \sec (c+d x))^{2/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 143
Rule 144
Rule 3919
Rule 3930
Rule 4092
Rule 4167
Rubi steps
\begin {align*} \int \frac {\sec ^4(c+d x)}{(a+b \sec (c+d x))^{5/3}} \, dx &=-\frac {3 a^2 \sec (c+d x) \tan (c+d x)}{2 b \left (a^2-b^2\right ) d (a+b \sec (c+d x))^{2/3}}-\frac {3 \int \frac {\sec (c+d x) \left (a^2-\frac {2}{3} a b \sec (c+d x)-\frac {2}{3} \left (3 a^2-b^2\right ) \sec ^2(c+d x)\right )}{(a+b \sec (c+d x))^{2/3}} \, dx}{2 b \left (a^2-b^2\right )}\\ &=-\frac {3 a^2 \sec (c+d x) \tan (c+d x)}{2 b \left (a^2-b^2\right ) d (a+b \sec (c+d x))^{2/3}}+\frac {3 \left (3 a^2-b^2\right ) \sqrt [3]{a+b \sec (c+d x)} \tan (c+d x)}{4 b^2 \left (a^2-b^2\right ) d}-\frac {9 \int \frac {\sec (c+d x) \left (\frac {2}{9} b \left (3 a^2+b^2\right )+\frac {2}{9} a \left (9 a^2-7 b^2\right ) \sec (c+d x)\right )}{(a+b \sec (c+d x))^{2/3}} \, dx}{8 b^2 \left (a^2-b^2\right )}\\ &=-\frac {3 a^2 \sec (c+d x) \tan (c+d x)}{2 b \left (a^2-b^2\right ) d (a+b \sec (c+d x))^{2/3}}+\frac {3 \left (3 a^2-b^2\right ) \sqrt [3]{a+b \sec (c+d x)} \tan (c+d x)}{4 b^2 \left (a^2-b^2\right ) d}-\frac {\left (a \left (9 a^2-7 b^2\right )\right ) \int \sec (c+d x) \sqrt [3]{a+b \sec (c+d x)} \, dx}{4 b^3 \left (a^2-b^2\right )}+\frac {\left (9 a^4-10 a^2 b^2-b^4\right ) \int \frac {\sec (c+d x)}{(a+b \sec (c+d x))^{2/3}} \, dx}{4 b^3 \left (a^2-b^2\right )}\\ &=-\frac {3 a^2 \sec (c+d x) \tan (c+d x)}{2 b \left (a^2-b^2\right ) d (a+b \sec (c+d x))^{2/3}}+\frac {3 \left (3 a^2-b^2\right ) \sqrt [3]{a+b \sec (c+d x)} \tan (c+d x)}{4 b^2 \left (a^2-b^2\right ) d}+\frac {\left (a \left (9 a^2-7 b^2\right ) \tan (c+d x)\right ) \text {Subst}\left (\int \frac {\sqrt [3]{a+b x}}{\sqrt {1-x} \sqrt {1+x}} \, dx,x,\sec (c+d x)\right )}{4 b^3 \left (a^2-b^2\right ) d \sqrt {1-\sec (c+d x)} \sqrt {1+\sec (c+d x)}}-\frac {\left (\left (9 a^4-10 a^2 b^2-b^4\right ) \tan (c+d x)\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x} \sqrt {1+x} (a+b x)^{2/3}} \, dx,x,\sec (c+d x)\right )}{4 b^3 \left (a^2-b^2\right ) d \sqrt {1-\sec (c+d x)} \sqrt {1+\sec (c+d x)}}\\ &=-\frac {3 a^2 \sec (c+d x) \tan (c+d x)}{2 b \left (a^2-b^2\right ) d (a+b \sec (c+d x))^{2/3}}+\frac {3 \left (3 a^2-b^2\right ) \sqrt [3]{a+b \sec (c+d x)} \tan (c+d x)}{4 b^2 \left (a^2-b^2\right ) d}+\frac {\left (a \left (9 a^2-7 b^2\right ) \sqrt [3]{a+b \sec (c+d x)} \tan (c+d x)\right ) \text {Subst}\left (\int \frac {\sqrt [3]{-\frac {a}{-a-b}-\frac {b x}{-a-b}}}{\sqrt {1-x} \sqrt {1+x}} \, dx,x,\sec (c+d x)\right )}{4 b^3 \left (a^2-b^2\right ) d \sqrt {1-\sec (c+d x)} \sqrt {1+\sec (c+d x)} \sqrt [3]{-\frac {a+b \sec (c+d x)}{-a-b}}}-\frac {\left (\left (9 a^4-10 a^2 b^2-b^4\right ) \left (-\frac {a+b \sec (c+d x)}{-a-b}\right )^{2/3} \tan (c+d x)\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x} \sqrt {1+x} \left (-\frac {a}{-a-b}-\frac {b x}{-a-b}\right )^{2/3}} \, dx,x,\sec (c+d x)\right )}{4 b^3 \left (a^2-b^2\right ) d \sqrt {1-\sec (c+d x)} \sqrt {1+\sec (c+d x)} (a+b \sec (c+d x))^{2/3}}\\ &=-\frac {3 a^2 \sec (c+d x) \tan (c+d x)}{2 b \left (a^2-b^2\right ) d (a+b \sec (c+d x))^{2/3}}+\frac {3 \left (3 a^2-b^2\right ) \sqrt [3]{a+b \sec (c+d x)} \tan (c+d x)}{4 b^2 \left (a^2-b^2\right ) d}-\frac {a \left (9 a^2-7 b^2\right ) F_1\left (\frac {1}{2};\frac {1}{2},-\frac {1}{3};\frac {3}{2};\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right ) \sqrt [3]{a+b \sec (c+d x)} \tan (c+d x)}{2 \sqrt {2} b^3 \left (a^2-b^2\right ) d \sqrt {1+\sec (c+d x)} \sqrt [3]{\frac {a+b \sec (c+d x)}{a+b}}}+\frac {\left (9 a^4-10 a^2 b^2-b^4\right ) F_1\left (\frac {1}{2};\frac {1}{2},\frac {2}{3};\frac {3}{2};\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right ) \left (\frac {a+b \sec (c+d x)}{a+b}\right )^{2/3} \tan (c+d x)}{2 \sqrt {2} b^3 \left (a^2-b^2\right ) d \sqrt {1+\sec (c+d x)} (a+b \sec (c+d x))^{2/3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(8160\) vs. \(2(378)=756\).
time = 41.69, size = 8160, normalized size = 21.59 \begin {gather*} \text {Result too large to show} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.09, size = 0, normalized size = 0.00 \[\int \frac {\sec ^{4}\left (d x +c \right )}{\left (a +b \sec \left (d x +c \right )\right )^{\frac {5}{3}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sec ^{4}{\left (c + d x \right )}}{\left (a + b \sec {\left (c + d x \right )}\right )^{\frac {5}{3}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {1}{{\cos \left (c+d\,x\right )}^4\,{\left (a+\frac {b}{\cos \left (c+d\,x\right )}\right )}^{5/3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________